package light.head.model.inv;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 库存详情
 * @author yy
 *
 */
@Entity
@Table
public class InvStorageDetail implements Serializable {
	private static final long serialVersionUID = -3601205152083997922L;
	private Integer code;
	private Integer isc;			// 库存编号
	private String serial;		// 序列号
	private Boolean deleted = false;	// 是否删除
	

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	@Column
	public Boolean getDeleted() {
		return deleted;
	}
	@Column
	public String getSerial() {
		return serial;
	}
	@Column
	public Integer getIsc() {
		return isc;
	}
	
	
	
	
	public void setIsc(Integer isc) {
		this.isc = isc;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public void setSerial(String serial) {
		this.serial = serial;
	}
	public void setDeleted(Boolean deleted) {
		this.deleted = deleted;
	}

}
